/*
VoiceGuiTest.testBuild
VoiceGuiTest.testSetValue
*/


VoiceGuiTest{
	classvar vg;
	*testBuild{
		vg = VoiceGui.new;
		vg.setParent(this);
		vg.drawWindow(\rippleSampler);
		^vg;
	}
	
	*testSetValue{
		vg.setControlValue(\len, 0.5);
		vg.setControlValue(\play, 1);	
	}
	
	*getDescriptor{
		^DescriptorFor_rippleFilterSampler.new	
	}
	
	// fake being a parent
	
	*play{
		"PLAY".postln;
	}
	
	*pause{
		"PAUSE".postln;
	}
	
	*couple{
		"COUPLE".postln;
	}
	
	*deCouple{
		"DECOUPLE".postln;
	}
	
	*setControlValue{|name, val|
		(name).postln;
		(val).postln;
	}
	
	*setControlRandValue{|name, val|
		(name).postln;
		(val).postln;
	}
	
	*save{
		"SAVE".postln;
	}

}